package com.seari.c3gallery.bean;

public class DisplayPicBean implements Comparable<DisplayPicBean>{
    private String majorId;
    private int sequence;
    private byte[] picByte;
    private String pic;
    private String contentName;

    public String getMajorId() {
        return majorId;
    }

    public void setMajorId(String majorId) {
        this.majorId = majorId;
    }

    public int getSequence() {
        return sequence;
    }

    public void setSequence(int sequence) {
        this.sequence = sequence;
    }

    public String getContentName() {
        return contentName;
    }

    public void setContentName(String contentName) {
        this.contentName = contentName;
    }

    public byte[] getPicByte() {
        return picByte;
    }

    public void setPicByte(byte[] picByte) {
        this.picByte = picByte;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    @Override
    public int compareTo(DisplayPicBean o) {
        return this.sequence - o.sequence;
    }
}
